package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BUserOpenidsLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
public interface BUserOpenidsDao {
    List<BUserOpenidsLog> getUserOpenidsLogs(@Param("gzhCode") String gzhCode,
                                             @Param("comparisonDate") String comparisonDate,
                                             @Param("baseDate") String baseDate);

    List<BUserOpenidsLog> rankFollow(Map<String, Object> params);

    int getCurrentMonthFollow(Map<String, Object> params);
}
